package com.netintech.project.system.service;

import com.netintech.common.utils.hikSdk.FindFileResult;
import com.netintech.core.web.domain.RequestResult;
import com.netintech.project.system.domain.NvrCamNotRecordPeriod;
import com.netintech.project.system.domain.bo.NvrInfo;
import com.netintech.project.system.domain.bo.NvrInfos;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface HikSdkService {
    RequestResult queryRecordContinuity(String deviceIp, Integer port, String userName, String password, LocalDateTime startTime, LocalDateTime endTime
            , long channelNum, int useCard);

    /**
     * 批量查询nvr下设备的录像情况
     * @param nvrInfos
     * @param startTime
     * @param endTime
     * @return
     */
    List<NvrCamNotRecordPeriod> queryRecordContinuityBatch(NvrInfos nvrInfos, LocalDateTime startTime, LocalDateTime endTime);

    void insertBatch(List<NvrCamNotRecordPeriod> nvrCamNotRecordPeriods);
}
